fae3390b329cb82d66faf1e1f4694f178fba9d10,code/src/main/java/com/googlecode/cqengine/query/simple/ExistsIn.java,ExistsIn,matchesNonSimpleAttribute,#Attribute#O#QueryOptions#,62
Before Change
}
else {
for (A localValue : attribute.getValues(object, queryOptions)) {
boolean contained = foreignCollection.retrieve(and(equal(foreignKeyAttribute, localValue), foreignRestrictions)).isNotEmpty();
if (contained) {
return true;
}
After Change
}
else {
for (A localValue : attribute.getValues(object, queryOptions)) {
boolean contained = foreignCollectionContains(foreignCollection, and(equal(foreignKeyAttribute, localValue), foreignRestrictions));
if (contained) {
return true;
}